package com.bingxue.edu.management.education.model.entity.exam;


import com.bingxue.edu.framework.common.model.BaseEntity;
import com.mybatisflex.annotation.Table;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;


/**
 * 考试记录
 * @author panbo
 * @since 2023/10/5
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Table("edu_exam_answer_record")
public class ExamAnswerRecord extends BaseEntity {
    /**
     * 考试id
     */
    private String examId;
    /**
     * 题目id
     */
    private String questionId;
    /**
     * 考试记录id
     */
    private String examRecordId;
    /**
     * 学生id
     */
    private String studentId;
    /**
     * 是否正确
     */
    private Boolean corrected;
    /**
     * 题目得分
     */
    private BigDecimal score;
}
